from google.appengine.api import rdbms
import datetime

conn = rdbms.connect(instance="nicksdemospace:prod", database="unswheatmap")
cursor = conn.cursor()
cursor.execute("SELECT * FROM thermalsensors")
rawData = cursor.fetchall()
cursor.execute("SELECT * FROM classes")
classData = cursor.fetchall()
conn.close()